import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'


console.log("vue mainjs启动");
Vue.config.productionTip = false

import "@/utils/golbal"
import '@/assets/styles/index.scss';

import ElementUi from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUi)

import {axios} from "@/utils/axios";

// Vue.use(axios)
Vue.prototype.$axios = axios;   // 配置全局 Vue的原型属性  this.$axios


//导入富文本编辑插件并全局使用
import VueQuillEditor from "vue-quill-editor";
//quill 富文本插件样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
//全局使用富文本编辑插件
Vue.use(VueQuillEditor)


//轮播图插件
// import vueSwiper from 'vue-awesome-swiper'  //引入vue-awesome-swiper
// import 'swiper/dist/css/swiper.css'  //引入样式
// Vue.use(vueSwiper)  //使用插件

import vueAplayer from 'vue-aplayer';//音乐播放插件
Vue.use(vueAplayer)

//视频播放插件
import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
 
Vue.use(VideoPlayer)

//滑动解锁
import SlideVerify from 'vue-monoplasty-slide-verify';

Vue.use(SlideVerify);



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')


